package com.yuanxiao.dao;

import com.yuanxiao.pojo.User;

import java.util.List;

public interface IUserDao {
    //查询所有用户
    public List<User> finfAll() throws Exception;
    //根据条件进行用户查询

    public User findByCondition(User user) throws Exception;

    //添加用户
    public void saveUser(User user) throws Exception;

    public void updateUser(User user) throws Exception;

    public void deleteUser(User user) throws Exception;
}
